﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdministratorSite.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

 <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="form1" runat="server" action="Search">
        <asp:Panel ID="Panel2" runat="server" Height="61px" 
        style="font-size: xx-large; font-weight: 700; font-family: Calibri">
            Main Search</asp:Panel>
        
        <table style="width: 100%">
            <tr>
                <td style="width: 245px; height: 23px;" valign="top">
                    </td>
                <td style="width: 82px; height: 23px;">
                    </td>
                <td valign="top" style="height: 23px">
                <h2><%: ViewData["Message"] %></h2></td>
            </tr>
            <tr>
                <td style="width: 245px" valign="top">
       <table class="clear" border="" frame="border" 
            style="border-style: hidden; border-width: 0; border-spacing: 0px;">
            <tr>
                <td style="border-style: hidden; width: 83px" rowspan="3"></td>
                <td style="border-width: 0px; border-style: 0; width: 120px;">
                    <%= Html.RadioButton("radioButtonListMainSearch", "_hotel", true)%> Hotel
                </td>
                <td style="border-style: hidden">
                 <%: Html.DropDownList("searchHotelCriteria", new[] {
                                                                            new SelectListItem { Value = "_name", Text = "Name" },
                                                                            new SelectListItem { Value = "_address", Text = "Address" },
                                                                            new SelectListItem { Value = "_country", Text = "Country" },
                                                                           },
                                                               new { 
                                                                            style = "width: 100px" 
                                                                    }
                                                                                    
                                         )%>

                </td>
                <td style="border-style: hidden">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="border-width: 0px; border-style: 0; width: 120px;">
                    <%= Html.RadioButton("radioButtonListMainSearch", "_client")%> Client
                </td>
                <td style="border-style: hidden">
                    <%: Html.DropDownList("searchClientCriteria", new[] {
                                                                            new SelectListItem { Value = "_email", Text = "Email" },
                                                                            new SelectListItem { Value = "_name", Text = "Name" },
                                                                            new SelectListItem { Value = "_passportNo", Text = "Passport" },
                                                                            new SelectListItem { Value = "_country", Text = "Country" }
                                                                           },
                                                                  new {
                                                                            style = "width: 100px"
                                                                       }
                                                                                    
                                         )%>

                </td>
                </td>
                <td style="border-style: hidden">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="border-width: 0px; border-style: 0; width: 120px;">
                    <%= Html.RadioButton("radioButtonListMainSearch", "_transaction")%> Booking
                </td>
                <td style="border-style: hidden">
                    <%: Html.DropDownList("searchTransactionCriteria", new[] {
                                                                            new SelectListItem { Value = "_clientEmail", Text = "Client Email" },
                                                                            new SelectListItem { Value = "_startDates", Text = "Start Date"},
                                                                            new SelectListItem { Value = "_endDate", Text = "End Date" },
                                                                           },
                                                                       new {
                                                                            style = "width: 100px"
                                                                       }                                      
                                         )%>
                </td>
                <td style="border-style: hidden">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="border-style: hidden; width: 83px"></td>
                <td style="border-width: 0px; border-style: 0; width: 120px;">&nbsp;</td>
                <td style="border-style: hidden">
                    &nbsp;</td>
                <td style="border-style: hidden">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="border-style: hidden; width: 83px"></td>
                <td style="border-width: 0px; width: 120px;" colspan="2" 
                    align="center">
                     <%: Html.TextBox("searchString", "") %></td>
                <td style="border-style: hidden">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="border-style: hidden; width: 83px">&nbsp;</td>
                <td style="border-width: 0px; border-style: 0; width: 120px;" colspan="2" 
                    align="center">
    <asp:Button ID="Button1" type="submit" name="submitButton" runat="server" Text="Search" 
                        style="text-align: left" TabIndex="6"/>
    
                </td>
                <td style="border-style: hidden">
                    &nbsp;</td>
            </tr>
            </table>
        <div>
    </div>
    </form>
     </table>
</asp:Content>
      
